{echo:JS::import('form');}
{echo:JS::import('editor');}
{echo:JS::import('dialog?skin=brief');}
{echo:JS::import('dialogtools');}
<script>
    var editor;
    KindEditor.ready(function(K) {
      editor = K.create('textarea[name="content"],textarea[name="sale_protection"]', {
        uploadJson : '{url:/admin/upload_image}'
      });
    });
</script>
  <div id="obj_form" class="form2 tab">
      <!-- tab 头 start -->
    <h1 class="page_title">我的店铺</h1>
    <form action="{url:/customer/customer_dp_edit}" class=" " method="post" callback="check_tab_location"  enctype="multipart/form-data">
          {if:isset($id)}
          <input type="hidden" name="id" value="{$id}">
          {/if}
        <ul class="tab-head">
          <li>基本信息</li>
        </ul>
        <div class="tab-body">
          <div>
            <dl class="lineD">
              <dt>  店铺名称：</dt>
              <dd>
                <input  readonly type="text"  value="{$dp_info['dp_name']}" style="width:400px;" >
                <label></label>
              </dd>
            </dl>
            <dl class="lineD">
              <dt>固定电话：</dt>
              <dd>
                <input   readonly  type="text"  value="{$dp_info['dp_tel']}" style="width:400px;">
                <label></label>
              </dd>
            </dl>
            <dl class="lineD clearfix">
              <dt>店铺图片：</dt>
              <dd class="min_inputs ">
                <img src="{$dp_info[dp_logo]}"  style="width:200px;">
              </dd>
            </dl>
           </div>
          </div>

         <div class="tab-body">

   <h1 class="page_title">店铺编辑</h1>

           <!-- 基本信息 start -->
           <ul class="tab-head">
             <li>店铺信息</li>
           </ul>
         <div>
         <dl class="lineD">
             <dt>
              店铺名称：
             </dt>
          <dd>
            <input name="dp_name" type="text"  value="{$dp_info['dp_name']}" style="width:400px;" >
            <label></label>
          </dd>
          </dl>
        <dl class="lineD">
          <dt>店铺电话：</dt>
          <dd>
            <input name="dp_tel" type="text" pattern = "(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$"  value="{$dp_info['dp_tel']}" style="width:400px;">
            <label></label>
          </dd>
        </dl>
        <dl class="lineD clearfix">
          <dt>店铺图片：</dt>
          <dd class="min_inputs ">

                 <input  value="{$dp_info['dp_logo']}"  type="file" name="dp_logo" >

          </dd>
        </dl>


    </div>
   </div>
<!-- tab 头 end -->
      <div style="text-align:center;margin-top:20px;">
        <input type="submit" class="focus_button" value="提交" >
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="重置" class="button">
      </div>
</form>
<script type="text/javascript">

</script>
